import { useState } from 'react'
import {Provider} from 'react-redux'
import { HashRouter } from 'react-router-dom'
import store from './store'
import routes from './routes'
import { renderRoutes } from 'react-router-config'
import './App.css'

function App() {
  console.log(routes,'app')
  return (
    <Provider store={store}>
      <HashRouter>
        {renderRoutes(routes)}
      </HashRouter>
    </Provider>
  )
}

export default App
